package cn.tedu.boot091.mapper;

import cn.tedu.boot091.entity.Emp;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmpMapper {
    int insert(Emp emp);

    List<Emp> select();

    Emp selectById(int id);

    int deleteById(int id);

    int deleteByIds(Integer[] ids);

    int update(Emp emp);

    int count();

    int dynamicUpdate(Emp emp);

}
